<script setup>
import { RouterView } from "vue-router";
import NavHeader from "./components/NavHeader.vue";
import PageFooter from "./components/PageFooter.vue";
import { ArrowUp } from "@element-plus/icons-vue";
</script>

<template>
  <NavHeader></NavHeader>
  <section class="main-body">
    <RouterView />
  </section>
  <PageFooter></PageFooter>
  <el-backtop class="back-top" :bottom="80">
    <div class="back-top-content">
      <el-icon size="22px"><ArrowUp /></el-icon>
    </div>
  </el-backtop>
</template>

<style lang="scss" scoped>
.main-body {
  padding: 80px 0;
  margin: 0 auto;
  width: 153.6rem;
  min-height: 80vh;
}
.back-top {
  border-radius: 0;
  box-shadow: none;
}
.back-top-content {
  padding: 8px 10px;
  color: #15803d;
  border: 1px solid #15803d;
  border-radius: 4px;
  background-color: #fff;
}
</style>
